コード例 #1
0
        private string GetActivationInfoString()
        {
            var placement = PlacedUsing != null?PlacedUsing.GetType().Name : String.Empty;

            return(GrainInstanceType == null ? placement :
                   String.Format(" #GrainType={0} Placement={1}", GrainInstanceType.FullName, placement));
        }
コード例 #2
0
        private string GetActivationInfoString()
        {
            var placement = PlacedUsing != null?PlacedUsing.GetType().Name : String.Empty;

            return(GrainInstance is null ? placement : $"#GrainType={GrainInstance.GetType().FullName} Placement={placement}");
        }